You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Tee Namespace > Classes > MtxVecTee Class > MtxVecTee Methods > DrawValues Method > MtxVecTee.DrawValues Method (TVec[], Steema.TeeChart.Styles.Series)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MtxVecTee.DrawValues Method (TVec[], Steema.TeeChart.Styles.Series)

Passed an array of vectors to single series ValueList(s).

Syntax
C#
Visual Basic
public static void DrawValues(TVec[] vectors, Steema.TeeChart.Styles.Series series);
Parameters 
Description 
TVec[] vectors 
An array of vectors defining series x,y,... values. 
Steema.TeeChart.Styles.Series series 
Series to be used for plotting. 

Copy each of the vector in Vectors array to Series ChartValueList(s): XValues, YValues. Use this routine if you want to copy several vectors to the same series in one pass.

Plot error chart by ussing Styles.Error (see Teechart help to learn more about this). If the necessary data is stored in three vectors: x, y, error, then you can use:

using Dew.Math; using Dew.Math.Tee; Vector x = new Vector(0); Vector y = new Vector(0); Vector error = new Vector(0); x.LoadFromFile("x_data.vec"); y.LoadFromFile("y_data.vec"); error.LoadFromFile("error_data.vec"); tChart1.Series.Clear(); tChart1.Series.Add(Steema.TeeChart.Styles.Error()); MtxVecTee.DrawValues(new TVec[] {x,y,error},tChart1[0],0,1);
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!